SPRITE RED
This command will return the diffuse Red value of the specified sprite.
Return Integer=SPRITE RED(Sprite Number)
Sprite Number
Integer
The sprite number
This command will return the diffuse Red value of the specified sprite
The value determines how much red is used in the sprite, 255 being completely used. You should specify the Sprite Number as an integer value.
load image "man.bmp",1
cls
sprite 1,100,100,1
print "sprite colour red value ",sprite red(1)
do
loop
end
SPRITE Commands Menu
Index